package com.tencreat.domain.mall;

import com.baomidou.mybatisplus.annotation.*;
import com.tencreat.common.annotation.Excel;
import com.tencreat.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 专区对象 mall_zone
 *
 * @author wangkai
 * @date 2021-11-22
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@TableName("mall_zone")
public class MallZone extends BaseEntity<MallZone>{
    private static final long serialVersionUID = 1L;


    /** 专区id */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;


    /** 专区名称 */
    @Excel(name = "专区名称")
    @ApiModelProperty(value= "专区名称")
    @TableField("`zone_name`")
    private String zoneName;


    /** 专区图片 */
    @Excel(name = "专区图片")
    @ApiModelProperty(value= "专区图片")
    @TableField("`zone_picture`")
    private String zonePicture;


    /** 显示顺序 */
    @Excel(name = "显示顺序")
    @ApiModelProperty(value= "显示顺序")
    @TableField("`sort`")
    private Long sort;


    /** 删除标志（0代表存在 2代表删除） */
    @TableLogic
    @TableField("`del_flag`")
    private String delFlag;


    /** 租户ID */
    @Excel(name = "租户ID")
    @ApiModelProperty(value= "租户ID")
    @TableField("`tenant_id`")
    private Long tenantId;


}
